﻿#ifndef GRAPHICS52VALVEITEM_H
#define GRAPHICS52VALVEITEM_H
#include "GraphicsAirValveItem.h"
#include <QGraphicsObject>

class Graphics52ValveItem : public GraphicsAirValveItem
{
public:
    Graphics52ValveItem();
    QPointF keyPoint(int i) override;
    QRectF boundingRect() const override;
public slots:
    void setEnable(bool enable);
private:
    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override;

    QPoint m_keyPoints[4];
};

#endif // GRAPHICS52VALVEITEM_H
